package cn.nawang.ebeim.ui.bean;

/**
 * @ClassName: DatasourceTree
 * @Description: TODO
 * @author fanyb
 * @date Nov 11, 2015 2:59:50 PM
 * @version v1.0
 */
public class DatasourceTree {
  private String id;
  private String pid;
  private String type;
  private String name;
  private String version;
  private String path;
  private String dsId;
  private String fileType;
  private String isChildren;
  private String requestType;
  private String root;
  
  public String getRoot() {
    return root;
  }

  public void setRoot(String root) {
    this.root = root;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getPid() {
    return pid;
  }

  public void setPid(String pid) {
    this.pid = pid;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getPath() {
    return this.path == null ? "/" : path;
  }

  public void setPath(String path) {
    this.path = path;
  }
  
  public String getDsId() {
    return dsId;
  }

  public void setDsId(String dsId) {
    this.dsId = dsId;
  }
  
  public String getFileType() {
    return fileType;
  }

  public void setFileType(String fileType) {
    this.fileType = fileType;
  }

  public String getIsChildren() {
    return isChildren;
  }

  public void setIsChildren(String isChildren) {
    this.isChildren = isChildren;
  }

  public String getRequestType() {
    return requestType;
  }

  public void setRequestType(String requestType) {
    this.requestType = requestType;
  }

  @Override
  public String toString() {
    return "DatasourceTree [id=" + id + ", pid=" + pid + ", type=" + type + ", name=" + name
        + ", version=" + version + ", path=" + path + ", dsId=" + dsId + ", fileType=" + fileType
        + ", isChildren=" + isChildren + "]";
  }
  
}
